import request from '@/utils/request'

export function getList(params) {
  return request({
    url: 'http://www.expone.cn:8086/Echarts/test',
    method: 'get',
    params
  })
}

export function EDIT_FILE_TYPE(data) {
    return request({
      headers: {
        "Content-Type": "application/json;charset=UTF-8"
      },
      transformRequest: [function (data) {
        data = JSON.stringify(data)
        return data
      }],
      url: 'http://www.expone.cn:8086/Echarts/test',
      method: 'post',
      params: {},
      data: data
    })
  }